while {true} do	{	sleep 600;	_Edistance = false;	{		if ((_x distance leaderHQ) < 2000) exitwith {_Edistance = true};	} foreach RydHQ_KnEnemies;	RydHQ_ReconDone = false;	RydHQ_ReconStage = 1;	if (RydHQ_Debug) then {			diag_log format ["MSO-%1 HETMAN: HQReset Running, Enemy within 2km = %2", time, _Edistance];	};	if (_Edistance) then {		{		_LE = (leader _x);		_LEvar = str _LE;		_LE setVariable [("Checked" + _LEvar), false, true]		} foreach (RydHQ_Enemies - RydHQ_KnEnemiesG)	};	RydHQ_DefDone = false;	if not (RydHQ_Order == "DEFEND") then 		{		RydHQ_NewOrders = true;		sleep 1.1;		RydHQ_NewOrders = false;		}	};